package com.lu.manage.modular.system.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Project LuBoot
 * @Author: zhanglu
 * @Date: 2019-11-17 00:46:19
 * @Description: 字典类型表
 */
@Data
@Accessors(chain = true)
@TableName("sys_dict_type")
public class DictType implements Serializable {

    private static final long serialVersionUID = 1L;

    //字典类型id
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    //字典类型编码
    @TableField("code")
    private String code;

    //字典类型名称
    @TableField("name")
    private String name;

    //字典描述
    @TableField("description")
    private String description;

    //状态(字典)
    @TableField("state")
    private Integer state;

    //排序
    @TableField("sort")
    private Integer sort;

    //修改时间
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    //修改人
    @TableField(value = "update_user", fill = FieldFill.INSERT_UPDATE)
    private String updateUser;

}
